package com.gsafety.wellsfort.dao.knowledge;

import com.gsafety.wellsfort.domain.model.knowledge.MaterialPrivilege;

import java.util.List;

public interface MaterialPrivilegeDAO {
    int deleteByPrimaryKey(Integer id);

    int deleteByMaterialId(Integer materialId);

    int insert(MaterialPrivilege record);

    int insertSelective(MaterialPrivilege record);

    MaterialPrivilege selectByPrimaryKey(Integer id);

    List<MaterialPrivilege> selectByMaterialId(Integer materialId);

    int updateByPrimaryKeySelective(MaterialPrivilege record);

    int updateByPrimaryKey(MaterialPrivilege record);
}